package com.sitech.ibnms.c3p.task.listeners;

import com.sitech.ibnms.c3p.domain.C3pExecNotice;
import com.sitech.ibnms.c3p.domain.C3pTask;
import com.sitech.ismp.workflow.domain.ProcessInstance;

/**
 * Created by leo on 15/7/8.
 */
public interface BaselineWarningListener {
    /**
     * 任务有警告（延迟启动，执行超时， 基线匹配异常等）
     *
     * @param c3pTask
     * @param processInstance
     * @param execNotice
     * @throws Exception
     */
    void onBaselineWarning(C3pTask c3pTask, ProcessInstance processInstance, C3pExecNotice execNotice) throws Exception;
}
